Textures are arrays of data that can be accessed in your shader program. Image data is the most common thing to put in a texture, but textures are simply data and can just as easily contain something other than an array of colors describing an image.