Ask anyone you admire: Their lucky breaks happened on a detour from their main goal. So embrace detours. Life is not a straight line for anyone.
Cognition refers to all processes by which the sensory input is transformed, reduced, elaborated, stored, recovered, and used.