ESAs can be used for elementary and secondary school, as well as college. Any earnings in an ESA are tax-free if used for qualified education expenses.
An UGMA or UTMA is a custodial account that allows you to give money to a minor while maintaining control over the money until the child reaches the age of majority.