Sounds like you are coming from something like WordPress. In Craft there are asset fields where you can relate assets to your text. Together with matrix fields you can create a powerful layout rather than inserting everything into one huge wysiwyg.

If you really want to fetch images in html editors you'll need a plugin for that. It's not possible in Craft per default because it's not really the intended way