Certain fused pyrrole- and pyrazole-containing heterocyclic compounds are serotonin modulators useful in the treatment of serotonin-mediated diseases.