Series of events required for an organism to receive a gustatory stimulus, convert it to a molecular signal, and recognize and characterize the signal.