Tonics are powerful items that fully restore your STA, ATK, and DEF. You were garunteed one after completing the tutorial, and it was the basic reward during the Buccaneer Rosa raid event. I believe Aeria has also distributed some as compensation for various bugs or so. Otherwise, you buy them from the shop with gold. I have no idea how you acquired so many tonics if you didn't buy them.