Copywriting drives sales, whether directly (ads) or indirectly (blogs).
Different types have different needs, but it all draws attention, informs, leaves a lasting brand impression and leads to a desired action.
A UX writer writes copy for the user interface (UI) of a product to guide users through it.