The results presented in this account deal with the synthesis of acyclic αor β-aminophosphonates or phosphinates and with the synthesis of heterocyclic compounds, where the phosphorus and/or the nitrogen atoms can be embedded in the heterocyclic core, showing new perspectives in bioactive molecules.