The function of abdominal muscles is forced respiration by raising and lowering the ribs. Contraction of these muscles forces the contents of the abdomen upwards, reducing the volume of the chest cavity and leading to contraction of the lungs for expiration.