Canvas is an HTML element that allows for dynamic, scriptable rendering of 2D shapes, 3D shapes, bitmap images and animations in both 2D and 3D.
The HTML element can be used to draw graphics in JavaScript. The canvas element was added as part of the HTML5 specification.
The canvas can be used to draw graphics, make photo compositions, create animations, games and do real-time video processing or rendering.
It is used to draw graphics, on the fly, via scripting (usually JavaScript).
The element is only a container for graphics. You must use a script to actually draw the graphics. Canvas has several methods for drawing paths, boxes, circles, text, and adding images.A canvas is a rectangular area on an HTML page. By default, a canvas has no border and no content.
References: