Composite, Amalgam or glass ionomer, that is build up within the mouth.
Inlays and onlays are used in molars or premolars, when the tooth has experienced too much damage to support a basic filling, but not so much damage that a crown is necessary.
The key comparison between them is the amount and part of the tooth that they cover.
An Inlay will incorporate the pits and fissures of a tooth, mainly encompassing the chewing surface between the cusps.
An Onlay will involve one or more cusps being covered. If all cusps and the entire surface of the tooth is covered this is then known as a crown.