In this proceedings, I present selected experimental results on heavy-flavour production at RHIC and at the LHC, which were presented at the Strangeness in Quark Matter 2017 conference. I will present a brief introduction to the heavy-flavour physics in heavy ion collisions and I will focus on recents measurements of in-medium energy loss and and collective properties of heavy-flavour particles, which provided important information on the mechanisms of heavy flavour interaction with the hot and dense medium created in ultra-relativistic heavy-ion collisions.