Fleas need a blood meal to survive and to lay eggs.  These external parasites usually feed when pets are sleeping. It lays eggs after 36-48 hours of consuming blood.