Please check with your airline for any size or weight restrictions.
These liquid medicines clearly include your hand sanitizers, syrups, inhalers, nebulizers liquid, and other necessary medication.
Spraying aerosols in the aircraft cabin is a very bad idea.