Scientists have discovered a previously unknown way that certain fish may "sniff" underwater.