Occupational therapy is a method to get a person back to their occupation by either training them. However if function is not possible by direct intervention then we use compensatory strategies or compensatory devices and making a person functionally independent- be it a child or an adult.
Occupational therapy practitioners enable people of all ages to live life to its fullest by helping them promote health, and prevent—or live better with—injury, illness, or disability.
Common occupational therapy interventions include helping children with disabilities to participate fully in school and social situations, helping people recovering from injury to regain skills, and providing supports for older adults experiencing physical and cognitive changes.
You can also view this link to understand better:
Interview with Sushant Sarang
What is Occupational Therapy