Glucose is too large to pass through the membrane via simple diffusion, so it uses active transport which does require ATP. Active transport is the movement of molecules from a region of low concentration to a region of high concentration. If you need any more detail on how active transport works let me know.