Hyperopia is a refractive error which means you can't see close objects. It happens when the axial length of the eye is shorter than normal due to squeezing a couple of internal extra-ocular muscles at the same time so light rays focus at a point behind the retina, rather than directly on its surface.
It can also happen in children who haven't yet fully developed their eyes.