are lungs one of the three main components of the circulatory system