38It should however be emphasised that the distinction between benefits falling within the scope of Regulation No 883/2004 and those which are outside it is based essentially on the constituent elements of each benefit, in particular its purpose and the conditions for its grant, and not on whether it is classified as a social security benefit by national legislation (judgment of 11 April 2024, Sozialministeriumservice, C‑116/23, EU:C:2024:292, paragraph 32 and the case-law cited).