Tasks are added on a lead or a deal, on its Notes & tasks tab. A task's title opens the record it belongs to.