Spirituality means something different to everyone. For some, it's about participating in organized religion: going to a church, synagogue, mosque, and so on. 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.