Answer:
Rats can live in many different environments. In the wild, rats can live in wooded areas, sewers or anywhere they can find food. Rats can invade homes and live in attics and storage areas. They will search out food and water. Wood rats can climb and live in trees.
Pet rats are great pets and therefore there are a lot of commercial cages and habitats available. Pet stores carry a variety of cages for people who keep rats as pets.
Super Pets makes a few different cages suitable for pet rats. There are other manufacturers who make rat cages including My First Home brand cages.
Rats make nests out of whatever materials they have available. In attics they will use insulation. In cages, they use whatever bedding is offered. They are very crafty and will make use of what is available to them.
Rats need a food and water source to survive. They are often found in wooded areas near streams where they can find shelter, food and water in a small area.