The function of LDL is to transport cholesterol and triglycerides to muscle and fat cells as well as to injured areas in the body. For this reason, it often ends up within the arterial walls and is thus associated with the development of heart disease. HDL basically has the opposite job and can remove cholesterol from the arterial walls and therefore has a negative association with heart disease.