The main function of blood is to transport oxygen, nutrients, hormones, and waste products throughout the body. It also plays a crucial role in maintaining body temperature and pH balance, as well as regulating fluid and electrolyte balance. Additionally, blood contains immune cells and antibodies that help fight infections and protect the body against pathogens.