Factory farming involves raising livestock in densely populated, confined environments to maximize production and minimize costs. These farms often confine animals in cages or crates, or crowd them together in pens. While they can produce large amounts of meat, diary, and eggs efficiently, factory farming has raised concerns about animal welfare, environmental impact, and public health.