In levocardia, the heart is located within the left chest, with the apex pointing to the left; in dextrocardia, it is located within the right chest with the apex pointing to the right; and in mesocardia, it is centrally located with the apex pointing anteriorly.