A CD-RW (which stands for Compact Disc ReWritable) is like a Compact disc that can be recorded and erased multiple times. It can hold data or music. Most of the time it will hold data, since many CD players can not play CD-RWs. During its development, the format was known as CD-E, which stands for Compact Disc Erasable. The standard was introduced in 1997. It replaced the less successful CD-MO.
The disk used for this is an optical disc. Phase change technology is used to write to the disk. A laser beam is used to heat a certain point of the disk. Once this point is hot, the information stored there can be changed.
According to what the manufacturers of these disks say, it is possible to record and erase such a disk up to 1000 times. They behave very much like CD-Rs, otherwise. Entire sessions can be written. As long as there is space on the disc, new sessions can be appended. To be readable in an ordinary CD drive, all sessions must be closed though.
CD-RWs never gained the popularity of CD-Rs. This is because they are more expensive to make and to buy. Also, not all CD drives can read them. Reading and writing speeds are also lower than those of pre-made CDs and CD-Rs.
Also, like with the CD-R, it is impractical (and slow) to use these disks to quickly add or remove small files. Other formats, like Zip disk, Jaz disk, Magneto-optical disks, and USB flash drives are probably better able for quickly reading, writing, or erasing small (sets of) files. When a deletion needs to be made, the whole disk needs to be erased.
Depending on the method used to write, and the type of disk used, usable capacities range from about 500 to 700 megabytes.
Pretty much the same concepts are used for DVD-RWs, which have a much higher capacity.