Spirituality means something different to everyone. For some, it's about participating in organized religion: going to church, synagogue, a mosque, etc. For others, it's more personal: Some people get in touch with their spiritual side through private prayer, yoga, meditation, quiet reflection, or even long walks.
Quite simply, cognition refers to thinking. There are the obvious applications of conscious reasoning—doing taxes, playing chess, deconstructing Macbeth—but thought takes many subtler forms, such as interpreting sensory input, guiding physical actions, and empathizing with others.