In Siemens, a data block is for storing data (number and/or string values), and a function block contains logic which you call from your main program, or other function block.
Further, a function block (FB), has what's called an instance data block (DB) which acts as a storage of values for the FB. A function (FC) is the same as an FB, but without the instance DB.