Ok. One more clarification.
When we speak of optical triggering with flashes, we can be talking about two different things.
Manfred is speaking of the proprietary near-infrared light-based signaling protocol that most dSLRs come with these days. The built-in commander of which he speaks typically is in the prosumer and up bodies (although there are exceptions. Canon has actually put this kind of commander in the xxxD line of bodies, but the full-frame 5D/6D cameras don't have pop-up flashes so they don't). The problem here is that mirrorless cameras tend to tier downwards from dSLRs. Right now, afaik, there's only one mirrorless camera with a commander built-in and that's the Olympus OM-D. Panasonic doesn't support this kind of protocol in any of its cameras. With Sonys, afaik, only the prosumer Alphas have this.
These proprietary systems, though, rock on the function: TTL, high-speed sync, control over the remote flashes from the camera, etc. Nearly everything you can do with the flash on-camera can be done with the flash off-camera. It just sucks for the expense (TTL gear is generally more complex/expensive than manual-only gear) and when you go outside and on location. Indoors, this can work great, because you have lots of bounce surfaces to mitigate the line of sight requirements and work through/around modifiers. TTL radio triggers can get around this, but typically don't exist outside the Canikon brands, or are very expensive, as in $100 per trigger, and you need one trigger for the camera, and one for each flash you want to use.
The second type of optical slave is what kckunz is talking about. I label this a "dumb" optical slave. All it can do is send the "fire" signal, much like manual radio slaves. Basically, it's a simple sensor that when it sees a flash burst it sends the sync signal. So, you could still use your built-in flash to trigger an off-camera flash. But there are a few caveats here.
TTL is how your camera can automatically set the flash's power output based upon through-the-lens (TTL) metering. The camera tells the flash to send out a burst of light at a known brightness level, meters it, then adjusts the flash power accordingly. So, there are two flash bursts for every image. A lot of these optical triggers are from pre-TTL days, so it's a very simple "see flash burst/fire flash" logic. And the preflash from TTL can trip them early. If you can switch your pop-up from TTL to Manual, then you can avoid this issue. Nikons can do this. Canons, up until a year or two ago, couldn't.
If you're stuck in the forced TTL boat with your pop-up, then you have to find a slave that can fire on the 2nd flash burst, and ignore your pre-flash. And this is assuming you're not trying to use the proprietary wireless signalling--because that's like Morse code with light--multiple preflashes. Also, red-eye settings can send out an addition preflash. So, with P&S cameras and built-in flashes, dumb optical slaves can be tricky.
But this is why I pointed out most of the cheap YN flashes have two built-in dumb optical slave modes: S1 for no pre-flash and S2 for a single preflash. I use a YN-560 off-camera without any additional equipment with my Canon Powershot S90 point and shoot (which has no hotshoe). I set the YN-560 to S1 if my S90 is in M mode. If my S90 is in Av/Tv/P mode, I put the YN-560 in S2. The line of sight thing, though, is much more of a PITA because my P&S's pop-up flash can't swivel. So, the YN-560 can't be anywhere behind the camera. At which point I start doing weird Rube Goldberg things with add-on optical slaves and radio triggers, but I'm an eccentric.
The main limitations with dumb optical slaves include all the ones for smart ones (line of sight, range, reliability outdoors) and add one more: any passing stranger with a P&S camera that has a flash can trip your lights, too. Again, great for use indoors. Outdoors, maybe more of a problem. David Hobby on the Strobist has this great story about how in film days, when optical slaves were commonly used for studio lights (still are actually. A lot of them come with dumb optical slaves built in), someone set up this legendary shoot at an airport, pretty much lighting up an entire arrival terminal, and how a tourist couple passing by got a lot more than they bargained for when they thought to take a snapshot of all the men with big lights setting up a shoot...