Bees play a crucial role in pollination by transferring pollen from the male part of a flower to the female part, which fertilizes plants and allows them to produce fruits and seeds. This process is essential for the reproduction of many plants and the continuation of various ecosystems.