We use an ultrashort, high-intensity laser pulse to generate a plasma in a gas (the target). The carefully chosen target is injected into vacuum using a supersonic jet or cell structure to shape its density profile. Liquids or solid-state targets may also be used, depending on the desired application.