Changes to an image are not saved as in a regular image editor. darktable is a non-destructive editor, which means all changes are stored in a database, and the original image is untouched. Therefore, you need to export images to bake the processing options into an output file that can be distributed outside of darktable.
Images are exported from the lighttable view, using the export selected dialog in the right panel (Section 2.3.12, “Export selected”). In general, export means: save my developed raw image as a JPEG.
The export is modularized into storage and format. darktable ships with several storage modules such as save on disk, various webalbums, a LaTeX photo book template and more. Format modules are the actual image formats such as JPEG, PNG, TIFF, OpenEXR and more.
Select images on the lighttable, choose the target storage and format, and set the maximum width and height image restraints. This means that none of the images will be bigger than any of the width/height restraints and hit the export button. Leave the width and height restraints at zero if you want the original resolution.