Text this: Strategies for the Synthesis of Heterocycles and Their Applications