Does "pay" mean the same thing in these two sentences?

Does she pay you for the work you are doing?

Pay attention.
different meanings