Hi Hafedh
RAW numbers are nothing more than the digital output from the
sensors. If we simplify how a sensor works, you can think of it as consisting of a big set of pixels each of which consists of three light collectors. Each collector is under a filter that lets through either red, green, or blue light. So the electronic data, per pixel, consists of three numbers depending how much light went to the collector.
The first important thing here is, that the electronics does not 'know' what colour filter was over the filter, and the number is dependent only on the intensity of the light that hit the collector, not its colour.
This set of number triples is the RAW sensor data. Depending on the sensitivity of the sensor (12bit or 14bit) there is potentially a vast number of these triples.
Tim