What is this plant and is it an herb?

My coworker gave me this plant when it was small and said it was "a type of oregano". I chopped up some not long after I planted it and it tasted very bitter so I never attempted that again (spoiler: I lived). It grew these purple flowers after exactly one year. ID? (Planted in South Florida)