what is rom and its types

what is android rom and its types
benefits of rom