Like brushing our teeth before bed or eating dinner in front of the TV, habits are behaviours we repeat without thinking much about them.
They can also be things you stopped doing (remember that gym membership you’re still paying for?) because you started doing something else you found more rewarding (like napping).
Habits seem to happen without any forethought, but in truth, they formed for a reason, thanks to a largely unconscious multistep mental process.