CDs and DVDs use the same way of keeping information. Both CDs and DVDs have pits and bumps on the data track (the data track represents a path which has certain information). The information is read by a laser.