The blood vessels that carry blood away from your heart are called arteries. In most cases, the blood within your arteries is oxygenated. Your veins return deoxygenated blood to your heart, which pumps it to your lungs to be oxygenated once again.
Your pulmonary veins are a group of blood vessels that drain oxygenated blood from your lungs and return it to your heart. The word 'pulmonary' comes from the Latin root 'pulmo,' meaning 'of or relating to the lungs.'
the deoxygenated blood from heart is pumped into your pulmonary arteries, which carry it to your lungs.
All veins in the body transport deoxygenated blood to the heart except for the pulmonary veins. Also, all arteries in the body transport oxygenated blood away from the heart except for the pulmonary arteries.
The function of the pulmonary veins is to transport that oxygenated blood from the lungs to the heart. They are still called veins because they transport blood to the heart, regardless of whether or not the blood is deoxygenated or oxygenated.
The function of the pulmonary arteries is to transport the deoxygenated blood to the lungs where it can be reoxygenated through diffusion. They are still called arteries because they transport blood away from the heart, regardless of whether or not the blood is deoxygenated or oxygenated.