what is the difference between how taste and smell are detected?
Taste receptors work with water (or saliva, or whatever other liquid that happens to occur in your mouth) and the things dissolved therein.

Smell receptors work with air and airborne chemicals.

Short of that, they are similar in that both are wide-range chemical sensors, and different in that they send different signals to our brain.