Farming and fishing have played important roles in human development and meeting basic needs over 500,000 years. Animals provide humans with food, clothing, labor and power, shelter, and emotional well-being. There are two main types of livestock farming - factory farming, where animals live indoors in close quarters, and free-range farming, where animals live outdoors but require more space. Coastal fishing harvests fish and shellfish near shore like sardines and mussels, while deep sea fishing uses large boats far from coasts to catch fish like hake, cod and swordfish.