A primitive, in computer programming, refers to a basic interface or a segment of code that you can use for the purpose of building sophisticated program elements or interfaces.