This seems to be a "non isolated" LED driver.
Touching the LED, the connections of wires to the LED may hurt or kill you or anybody else.
I don't recommend to use this circuit, because it's dangerous.
Especially for hobbyists.
You need to care about safety regulations of your country.
I'm trying to design a driver for a LED.
i had found this schematic: can anybody helps me to undrstand this
input 230, LED (6W).
AP1684 is a LED driver controller, everything is explained in the datasheet https://www.diodes.com/_files/datasheets/AP1684.pdf