My dissertation treats the physics of ultracold gases, in particular of Bose-Einstein condensates with long-ranged interactions induced by admixing a small fraction of a Rydberg state to the atomic ground state. The resulting interaction leads to the emergence of supersolid states and to the self-trapping of a Bose-Einstein condensate.