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.