1) Flux ropes play an important role in space weather as they are embedded within coronal mass ejections (CMEs) and drive geomagnetic storms when impacting Earth's magnetosphere. 2) CMEs have a multipart structure that includes an embedded flux rope, which appears as a dark cavity in white light observations and is measured in situ as a magnetic cloud. 3) Flux ropes evolve as they propagate through the solar system, experiencing deflections towards the solar equatorial plane and rotations to align with the heliospheric current sheet.