Generation and Application of Ultrashort Laser Pulses in Attosecond Science